package rpc.loadbalancer;

import com.alibaba.nacos.api.naming.pojo.Instance;

import java.util.List;

/**
 * 服务负载均衡接口
 *
 * @Author wupeijie
 * @Date 2020/12/4 10:11
 */
public interface LoadBalancer {
    Instance select(List<Instance> instances);
}
